import request from '@/utils/request'
import { getToken } from '@/utils/auth'

export function getSideBarApi() {
    let token = getToken();
    return request({
        url: '/api/auth.menu/index',
        method: 'post',
        data: { token }
    })
}